package com.axxc.jpa.pattendegign.bridgepatten;

/**
 * @ClassName Ring
 * @Description //TODO 请描述该类的作用
 * @author xxc
 * @data 2018年9月8日下午10:09:53
 * @see {@link http://gitee.com/biuabiu/ }
 */
public class Ring extends Gift {
	private static final long serialVersionUID = 1L;

	private String name;

	public Ring(GiftType giftType, String name) {
		super(giftType);
		this.name = name;
	}

	@Override
	public void show() {
		giftType.showType(name);
	}

}
